﻿// This software is the confidential and proprietary information of NetBay.
// Such confidential information should not be disclosed.
// NetBay copyright(c) 2012

#region

using System.Collections.ObjectModel;

#endregion

namespace Rio.Workflow.Runtime
{
    public class ParametersCollection
        : KeyedCollection<string, Parameter>
    {
        #region Instance Methods

        /// <summary>
        /// Gets the key for item.
        /// </summary>
        /// <param name="item">The item.</param>
        /// <returns></returns>
        protected override string GetKeyForItem(Parameter item)
        {
            return item.ParameterName;
        }

        #endregion
    }
}